package com.list.arraylist;

import java.util.ArrayList;
import java.util.List;


public class IterateArrayList1 {
public static void main(String[] args) {
	List javaCourse=new ArrayList();
	javaCourse.add("Core Java");
	javaCourse.add("JSP");
	javaCourse.add("EJB");
	javaCourse.add("Spring");
	System.out.println(javaCourse);
	System.out.println("using for loop");
	for(int i=0;i<javaCourse.size();i++){
		System.out.println(javaCourse.get(i));
	}
}
}
